﻿using Entity.Front_Desk;
using Entity.ResultModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IHotelBLL.IEmployeeBLL
{
    public interface IRoleBLL
    {
        public bool AddRole(string roleName, out string msg);
        public bool UpdateRole(string id, string roleName, out string msg);
        public bool DeleteRole(string id, out string msg);
        public List<Role> GetRoles(int page, int limit, out int count);
        public Role GetRole(string id);
        public List<Role> GetRoles();
        public void BindRole(List<string> employeeIds, string roleId);
        List<string> GetEmployee(string id);
        List<TransferOptionModel> GetTransferOptions();
        void BindEmployee(List<string> employeeIds, string roleId);
        List<TransferOptionModel> GetMenuTransferOptions();
        List<string> GetBindMenuIds(string roleId);
        void BindMenu(List<string> menuIds, string roleId);
    }
}
